<include file="../Public/header.html" />
<link href="__PUBLIC__/Css/brand.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.2&services=true"></script>
<script type="text/javascript" src="__PUBLIC__/Js/kim.base.map.js"></script>
<script type="text/javascript">
	//class="top_bar top_baron" class="top_bar"  k_changeGroupStyle
 	$(document).ready(function(){
 		k_changeGroupStyle('list_top',' ul > li','{$subitem}','top_bar_on');
 	});

</script>


<div id="main">
	<php>
			$TOP_NAV_BOX_PARAM[]=array('url'=>U('Product://Brand/index'),'desc'=>$_ARY_HRADER_NAV_DICT['BRAND']);
			$TOP_NAV_BOX_PARAM[]=array('desc'=>$brand['title']);
		</php>
		<include file="../Public/top_nav_box.html" />


	<div id="intro_box">
		<div id="intro_img"><img src="{:getPhotoFromThumb($brand['brand_icon'],232,232)}" height="232" width="232">
		<p style="font-size: 16px;font-weight: bold;margin: 20px 0 0;">{$brand['title']}</p></div>
		<div id="intro">
			<img src="{:getPhotoFromThumb($brand['intro_imgpath1'],1000,442)}" width="685px">
		</div>
		<div id="clear"></div>
	</div>
	
	<div id="list_top" class="list_top">
		<ul >
			<li class="top_bar" rel="goods"
				onclick="k_changeGroupStyle('list_top',' ul > li','goods','top_bar_on');
						$.kajax({      
								url:'{:U('Product://Brand/ajxSearchGoods')}',      
								type:'post',
								data:{ brandid:'{$brand['id']}' } ,    
								async: false ,
								success: function(html){ 
									$('#ajx_show_area').html(html);
								}
						});">商品列表</li>
			<li class="top_bar" rel="story"
				onclick="k_changeGroupStyle('list_top',' ul > li','story','top_bar_on');
						$.kajax({      
							url:'{:U('Product://Brand/ajxShowStory')}',      
							type:'post',
							data:{ brandid:'{$brand['id']}' } ,    
							async: false ,
							success: function(html){ 
								$('#ajx_show_area').html(html);
							}
						});">品牌故事</li>
			<li class="top_bar" rel="place"
				onclick="k_changeGroupStyle('list_top',' ul > li','place','top_bar_on');
						$.kajax({      
							url:'{:U('Product://Brand/ajxShowPlace')}',      
							type:'post',
							data:{ brandid:'{$brand['id']}'} ,    
							async: false ,
							success: function(html){ 
								$('#ajx_show_area').html(html);
							}
						});">兑换地点</li>
		</ul>
	</div>
	
	<div id="ajx_show_area" style="width:100%;">
		<php>if($subitem=='goods'){</php>
			<php>//加载的其他页面用到的变量	
				$brandid=$brand['id'];
				$stype='sale';
			</php>
			<include file="../Product/Tpl/default/Brand/goods_list_box.html" />
		<php>}</php>
		<php>if($subitem=='place'){</php>
			<include file="../Product/Tpl/default/Brand/place_list_box.html" />
		<php>}</php>
		<php>if($subitem=='story'){</php>
			<include file="../Product/Tpl/default/Brand/story_list_box.html" />
		<php>}</php>
	</div>
</div>

<include file="../Public/footer.html" />